prepare slaves